import { Table } from "antd"
import { ColumnsType } from "antd/es/table"
import React from "react"
import SaveAuth from "./components/SaveAuth"
import { useAntdModal } from "@web-design/ui"



const App = () => {
    const saveAuth = useAntdModal()
    const columns: ColumnsType<any> = [
        {
            title: '名称',
            dataIndex: '',
        },
        {
            title: '类型',
            dataIndex: '',
        },

    ]
    return <div>
        <SaveAuth {...saveAuth}/>
        <Table columns={columns} />
    </div>
}
export default App